Right, the common code between the login screen and
the unlock screen handles clearing the user verifier
when GDM sends a reset.
We don't actually always want to clear the messages on
reset in the unlock case, though, so doing it implicitly
is problematic.
This commit moves the clear() call from the common code
to the specific reset handlers.
https://bugzilla.gnome.org/show_bug.cgi?id=694688
},
_reset: function() {
+ this._userVerifier.clear();
+
this._updateSensitivity(true);
this._promptMessage.hide();
this._user = null;
},
_onReset: function() {
- this.clear();
-
// Clear previous attempts to authenticate
this._failCounter = 0;
},
_onReset: function() {
+ this._userVerifier.clear();
this.emit('failed');
},